package com.neugh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Shop implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 商城Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品名称
     */
    private String shopName;

    /**
     * 商品价格
     */
    private Double shopPrice;

    /**
     * 商品原价
     */
    private Double shopYprice;

    /**
     * 商品描述
     */
    private String shopWell;

    /**
     * 商品图片
     */
    private String shopImg;

    /**
     * 商品详情
     */
    private String shopDetails;

    /**
     * 商品销量
     */
    private String shopSold;


    public static final String ID = "id";

    public static final String SHOPNAME = "shopName";

    public static final String SHOPPRICE = "shopPrice";

    public static final String SHOPYPRICE = "shopYprice";

    public static final String SHOPWELL = "shopWell";

    public static final String SHOPIMG = "shopImg";

    public static final String SHOPDETAILS = "shopDetails";

    public static final String SHOPSOLD = "shopSold";

}
